package com.admin.bank.feign;

import com.admin.bank.feignService.BankFeignToCredit;
import com.client.model.pojo.bank.ArElectronic;
import com.client.model.pojo.creditcard.CreditElectronic;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @Author : RulerWood
 * @Data : 2024/4/12 - 16:51
 */
@RestController
@RequestMapping("/admin/bank/creditCard")
public class BankApplyCreditController {
    @Autowired
    private BankFeignToCredit bankFeignToCredit;

    @GetMapping("/{uid}")
    public ArElectronic applyCreditCard(@PathVariable("uid") Long uid) {
        return bankFeignToCredit.applyCreditCard(uid);
    }



}
